<template>
  <div>
    <p @click="handleClick">email</p>
  </div>
</template>

<script>
export default {
  mounted(){
    console.log(this.$bus);
  },
  methods:{
    handleClick(){
      this.$bus.$emit('on-click','hello tel')
    }
  }
}
</script>

<style>

</style>
